Total Complexity | 21 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 303 |
Lines of code | 201 |
Logical lines of code | 62 |
Comment lines | 69 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_item_for_response() | 55 | 6 | 19 | |
get_items() | 53 | 4 | 20 | |
get_public_review_form() | 47 | 2 | 39 | |
register_routes() | 49 | 1 | 38 | |
get_item_schema() | 52 | 1 | 30 | |
get_collection_params() | 56 | 1 | 21 | |
prepare_item_for_database() | 63 | 1 | 12 | |
__construct() | 77 | 1 | 4 | |
create_item() | 63 | 1 | 9 | |
get_items_permissions_check() | 82 | 1 | 3 | |
get_item_permissions_check() | 80 | 1 | 3 | |
create_item_permissions_check() | 82 | 1 | 3 |